package com.stt.order.model;

import java.math.BigDecimal;

/**
 * 订单信息
 */
public class Order {
    private Long id;
    private String orderNo;
    private BigDecimal originalAmount; // 原始金额
    private BigDecimal finalAmount;    // 最终金额
    private String userType;           // 用户类型：NORMAL/VIP/ENTERPRISE
    private String promotionType;      // 促销类型：FULL_REDUCTION/DISCOUNT/GIFT
    
    // 构造函数
    public Order() {}
    
    // getter和setter
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public BigDecimal getOriginalAmount() {
        return originalAmount;
    }

    public void setOriginalAmount(BigDecimal originalAmount) {
        this.originalAmount = originalAmount;
    }

    public BigDecimal getFinalAmount() {
        return finalAmount;
    }

    public void setFinalAmount(BigDecimal finalAmount) {
        this.finalAmount = finalAmount;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(String promotionType) {
        this.promotionType = promotionType;
    }
} 